import Layout from '@/layout'
export default {
  path: '/staff',
  component: Layout,
  redirect: '/staff/courier',
  name: 'staff',
  meta: {
    title: '员工管理',
    icon: 'el-icon-s-data'
  },
  children: [
    {
      path: 'courier',
      component: () => import('@/views/staff/courier'),
      name: 'courier',
      meta: { title: '快递员管理' }
    },
    {
      path: 'chauffeur',
      component: () => import('@/views/staff/chauffeur'),
      name: 'chauffeur',
      meta: { title: '司机管理' }
    },
    {
      path: 'workforcemanagement',
      component: () => import('@/views/staff/workforceManagement'),
      name: 'workforceManagement',
      meta: { title: '排版管理' }
    }
  ]
}
